using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework.Graphics;

namespace TankWars
{
    public class Team
    {
        private int nScore = 0;
        private Color cTeamColor = Color.White;
        private string strTeamName = "";

        public int Score
        {
            get
            {
                return this.nScore;
            }
            set
            {
                this.nScore = value;
            }
        }
        public Color TeamColor
        {
            get
            {
                return this.cTeamColor;
            }
        }
        public int TeamKills
        {
            get
            {
                int nTotalKills = 0;

                foreach (Tank tank in this.lstTeamMembers)
                {
                    nTotalKills += tank.TankPlayer.Kills;
                }

                return nTotalKills;
            }
        }
        public string TeamName
        {
            get
            {
                return this.strTeamName;
            }
        }

        public List<Tank> lstTeamMembers = new List<Tank>();
    }
}
